package com.jdd.dao.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jdd.common.api.vo.Result;
import com.jdd.dao.entity.TBuilding;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jdd.dao.vo.BuildingSerachVo;
import com.jdd.dao.vo.BuildingVo;
import com.jdd.dao.vo.SpaceVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 楼栋单元表 服务类
 * </p>
 *
 * @author ls
 * @since 2022-09-19
 */
@Service
public interface ITBuildingService extends IService<TBuilding> {

    IPage<BuildingVo> getBuildingInfoPage(Page<BuildingVo> page, BuildingSerachVo buildingSerachVo, List<String> projectCodes);

    Result<?> addNew(SpaceVo space);


}
